{
    "keyboard_name": "BDE Rev2",
    "usb": {
        "pid": "0x170A",
        "device_version": "1.0.1"
    },
    "encoder": {
        "rotary": [
            {"pin_a": "D2", "pin_b": "D3"}
        ]
    },
    "matrix_pins": {
        "rows": ["C6", "D7", "B4", "D4", "E6", "B2"],
        "cols": ["B3", "B1", "F7", "F6", "F5", "F4", "B5"]
    },
    "diode_direction": "COL2ROW",
    "rgblight": {
        "led_count": 8,
        "animations": {
            "rainbow_swirl": true
        },
        "hue_steps": 8,
        "saturation_steps": 8,
        "brightness_steps": 8
    },
    "ws2812": {
        "pin": "B6"
    },
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "label": "Q", "x": 0, "y": 0},
                {"matrix": [0, 1], "label": "W", "x": 1, "y": 0},
                {"matrix": [0, 2], "label": "E", "x": 2, "y": 0},
                {"matrix": [0, 3], "label": "R", "x": 3, "y": 0},
                {"matrix": [0, 4], "label": "T", "x": 4, "y": 0},
                {"matrix": [0, 5], "label": "Y", "x": 5, "y": 0},
                {"matrix": [0, 6], "label": "U", "x": 6, "y": 0},
                {"matrix": [3, 6], "label": "I", "x": 7, "y": 0},
                {"matrix": [3, 5], "label": "O", "x": 8, "y": 0},
                {"matrix": [3, 4], "label": "P", "x": 9, "y": 0},
                {"matrix": [3, 3], "label": "7", "x": 10, "y": 0},
                {"matrix": [3, 2], "label": "8", "x": 11, "y": 0},
                {"matrix": [3, 1], "label": "9", "x": 12, "y": 0},
                {"matrix": [3, 0], "label": "Mute", "x": 13, "y": 0},

                {"matrix": [1, 0], "label": "A", "x": 0, "y": 1},
                {"matrix": [1, 1], "label": "S", "x": 1, "y": 1},
                {"matrix": [1, 2], "label": "D", "x": 2, "y": 1},
                {"matrix": [1, 3], "label": "F", "x": 3, "y": 1},
                {"matrix": [1, 4], "label": "G", "x": 4, "y": 1},
                {"matrix": [1, 5], "label": "H", "x": 5, "y": 1},
                {"matrix": [1, 6], "label": "J", "x": 6, "y": 1},
                {"matrix": [4, 6], "label": "K", "x": 7, "y": 1},
                {"matrix": [4, 5], "label": "L", "x": 8, "y": 1},
                {"matrix": [4, 4], "label": "Esc", "x": 9, "y": 1},
                {"matrix": [4, 3], "label": "4", "x": 10, "y": 1},
                {"matrix": [4, 2], "label": "5", "x": 11, "y": 1},
                {"matrix": [4, 1], "label": "6", "x": 12, "y": 1},
                {"matrix": [4, 0], "label": "0", "x": 13, "y": 1},

                {"matrix": [2, 0], "label": "Z", "x": 0, "y": 2},
                {"matrix": [2, 1], "label": "X", "x": 1, "y": 2},
                {"matrix": [2, 2], "label": "C", "x": 2, "y": 2},
                {"matrix": [2, 3], "label": "V", "x": 3, "y": 2},
                {"matrix": [2, 4], "label": "Back", "x": 4, "y": 2},
                {"matrix": [2, 5], "label": "Space", "x": 5, "y": 2},
                {"matrix": [2, 6], "label": "B", "x": 6, "y": 2},
                {"matrix": [5, 6], "label": "N", "x": 7, "y": 2},
                {"matrix": [5, 5], "label": "M", "x": 8, "y": 2},
                {"matrix": [5, 4], "label": "Enter", "x": 9, "y": 2},
                {"matrix": [5, 3], "label": "1", "x": 10, "y": 2},
                {"matrix": [5, 2], "label": "2", "x": 11, "y": 2},
                {"matrix": [5, 1], "label": "3", "x": 12, "y": 2},
                {"matrix": [5, 0], "label": "EQL", "x": 13, "y": 2}
            ]
        }
    }
}
